package com.example.prison.service;

import com.example.prison.entity.PushRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【push_record】的数据库操作Service
* @createDate 2023-06-13 09:32:29
*/
public interface PushRecordService extends IService<PushRecord> {

    PageInfo<PushRecord> get(int pageNumber, int pageSize);

    int add(PushRecord record);

    PushRecord getById(Integer id);

    PageInfo<PushRecord> getByPushPersonnel(int pageNumber, int pageSize, String pushPersonnel);

    PageInfo<PushRecord> getByTime(int pageNumber, int pageSize, String beginTime, String endTime);

    PageInfo<PushRecord> getByLevel(int pageNumber, int pageSize, String alarmLevel);

}
